package insight.Builder;

/**
 * @author huu
 * @create 2025-08-26-18:58
 */
public class DeleteBuilder {
    //detelete from table where column = value
    private String table;
    private String where;
    public void DeleteBuilder(){}

    public DeleteBuilder table(String table){
        this.table = table;
        return this;
    }
    public DeleteBuilder where(String where){
        this.where = where;
        return this;
    }
    public String build(){
        return "delete from " + table + " where " + where;
    }
}
